<?php

namespace project\common;



use project\memory\ServiceAccount;

class Login
{

   public function in($account, $passwd, $ip)
   {
       //1.登录检查
       $accountService = new ServiceAccount($account);
       if ($accountService->passwd()) {

       }
       //2.产生登录事件


       //3.异常登录事件
   }

   public function out()
   {

   }

}